#Converse File_con module
#Version 0.3
#Debug code marked by ##

import os


def GetRelativeDir(): #Get the Working Directory
    #print GetRelativeDir##

    
    dir = os.getcwd()#gets current dir
    
    if os.access(dir, os.W_OK) == False: #Check for Readability
        return "Current Directory Locked....Exiting"
    
    else:
        return dir

def GetFile():
    #print GetFile ##

    
    work_dir = GetRelativeDir()
    con_file = raw_input()
    slash = "/"

    openfile = work_dir+slash+con_file #combine the three above variables
    openfile_s = open(openfile, "r") #load file into buffer
    file = openfile_s.readlines()
    
    #print file ##
    
    return file

if __name__ == "__main__":
    GetFile()
    
    
